﻿package fwk.utiles.infobulle{

	import flash.display.DisplayObject;
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.text.TextField;
	
	public interface IInfoBulle {
		function get texteClip():MovieClip;
		function get textField():TextField;
		function set textField(value:TextField):void;
		function set target(val:DisplayObject);
		function set position(val:String);
		function set marge(val:Number);
		function set centerFleche(val:Boolean);
		function get centerFleche():Boolean;
		function set margeX(val:Number);
		function set margeY(val:Number);
		function dispose():void
		/**
		 * To display the bubble info
		 * @param xInfobulle the position x of the bubble info (relative to stage)
		 * @param yInfobulle the position y of the bubble info (relative to stage)
		 */
		function display(xInfobulle:Number = NaN, yInfobulle:Number = NaN):void

		/**
		 * To hide the bubble info
		 */
		function hide():void
		/**
		 * Enable or disable the listeners MouseOver on the target of the bubble info. Default true
		 * @return true or false, Default true
		 */
		function get mouseOverEnabled():Boolean
		
		/**
		 * Enable or disable the listeners MouseOver on the target of the bubble info. Default true
		 * @return value true or false. Default true
		 */
		function set mouseOverEnabled(value:Boolean):void 
		
	}

}